package com.titaniume.java;

/**
 *@program: java8
 *@description:
 *@author: renfei.huang
 *@create: 2021-10-28 11:44
 */
public class FilterEmployeeByAge implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee employee) {
        return employee.getAge() > 35;
    }
}
